package cn.edu.xmu.javaee.chapter2.dependencyinjection.bean;

import lombok.NoArgsConstructor;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

@Component
@Scope(value = "singleton")
@NoArgsConstructor
public class AliPayAdaptor implements PayAdaptor {

    @Override
    public String toString() {
        return "AliPayAdaptor{}";
    }
}
